package cn.iocoder.yudao.module.trade.controller.app.order2.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 套餐订单新增/修改 Request VO")
@Data
public class PackageOrderCreateReqVO {

    @Schema(description = "订单编号"/*, requiredMode = Schema.RequiredMode.REQUIRED*/, example = "30207")
    private Long id;

    @Schema(description = "订单流水号"/*, requiredMode = Schema.RequiredMode.REQUIRED*/)
/*    @NotEmpty(message = "订单流水号不能为空")*/
    private String no;

    @Schema(description = "订单类型"/*, requiredMode = Schema.RequiredMode.REQUIRED*/, example = "1")
/*    @NotNull(message = "订单类型不能为空")*/
    private Integer type;

    @Schema(description = "订单来源终端"/*, requiredMode = Schema.RequiredMode.REQUIRED*/)
/*    @NotNull(message = "订单来源终端不能为空")*/
    private Integer terminal;

    @Schema(description = "用户编号"/*, requiredMode = Schema.RequiredMode.REQUIRED*/, example = "23274")
/*    @NotNull(message = "用户编号不能为空")*/
    private Long userId;

    @Schema(description = "用户 IP"/*, requiredMode = Schema.RequiredMode.REQUIRED*/)
 /*   @NotEmpty(message = "用户 IP不能为空")*/
    private String userIp;

    @Schema(description = "订单状态"/*, requiredMode = Schema.RequiredMode.REQUIRED*/, example = "1")
/*    @NotNull(message = "订单状态不能为空")*/
    private Integer status;

    @Schema(description = "取消类型", example = "2")
    private Integer cancelType;

    @Schema(description = "订单备注", requiredMode = Schema.RequiredMode.REQUIRED)
    private String remark;

    @Schema(description = "是否评价", example = "1")
    private Boolean commentStatus;

    @Schema(description = "订单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9248")
    @NotNull(message = "订单ID不能为空")
    private String packageId;

    @Schema(description = "订单金额（总），单位：元", requiredMode = Schema.RequiredMode.REQUIRED, example = "9248")
    @NotNull(message = "订单金额（总），单位：元不能为空")
    private Integer payPrice;

    @Schema(description = "售后状态", example = "1")
    private Integer refundStatus;

    @Schema(description = "退款金额，单位：分"/*, requiredMode = Schema.RequiredMode.REQUIRED*/, example = "27686")
    /*@NotNull(message = "退款金额，单位：分不能为空")*/
    private Integer refundPrice;

}